﻿@model  vngoodlife.Models.LogOnMemberModel
@{
    Layout = null;
    
}

<!DOCTYPE html>

<html>
<head>
    <title>LogOn</title>
    <link href="../../../Content/Admin/css/stylelogin.css" rel="stylesheet" type="text/css" />
</head>
<body class="login">
    @* Begin login form *@
	<div id="login_wrapper">
		<br class="clear"/>
		<div id="login_top_window">
			<img src="../../../Content/Admin/images/green/top_login_window.png" alt="top window"/>
		</div>
		
		@* Begin content *@
		<div id="login_body_window">
			<div class="inner">
				@*<img src="../../../Content/Backend/images/corp-name.png" alt="logo"/>*@
                <h2>Vngoodlife</h2>

                @using (Html.BeginForm("LogOn", "Admin", FormMethod.Post))
                { 
                @Html.Raw(vngoodlife.Util.MyAntiForgeryExtensions.MyAntiForgeryToken(Html, vngoodlife.Util.AntiKey.EditSalt))
                <label class="error">@Html.ValidationSummary(true, "Tên tài khoản hoặc mật khẩu chưa đúng.")</label>
                <p>
                    @*@Html.TextBox("txt1", null, new { style = "width:285px;", placeholder = "Tên tài khoản" })*@
                    @Html.TextBoxFor(m => m.UserName, new { @style = "width:285px;", @placeholder = "Tên tài khoản" })
                </p>
                
                <p>
                    @*@Html.Password("txt2", null, new { style = "width:285px;", placeholder = "Mật khẩu" })*@
                    @Html.PasswordFor(m => m.Password, new { @style = "width:285px;", @placeholder = "Mật khẩu" })
                </p>
                
                <p>
                    <input type="submit"  value="Log On"  style="margin-right:5px"/>
                    @*@Html.CheckBox("c")*@
                    @Html.CheckBoxFor(m => m.RememberMe) Nhớ mật khẩu
                </p>
                } 

			</div>
		</div>
		@* End content *@
		
		<div id="login_footer_window">
			<img src="../../../Content/Admin/images/green/footer_login_window.png" alt="footer window"/>
		</div>
		<div id="login_reflect">
			<img src="../../../Content/Admin/images/green/reflect.png" alt="window reflect"/>
		</div>
	</div>
	@* End login form *@
</body>
</html>
